package com.example.xpvideo.service;

import com.example.xpvideo.entity.PageResult;
import com.example.xpvideo.entity.PurchaseCoupon;
import com.example.xpvideo.entity.ResponseResult;
import com.example.xpvideo.entity.req.FullCouponReq;
import com.example.xpvideo.entity.req.PInstantCouponReq;
import com.example.xpvideo.entity.req.PublicReq;
import com.example.xpvideo.exception.ErrorException;

import java.util.List;

/**
 * 优惠券表
(PurchaseCoupon)Service层
 *
 * @author 杨丽辉
 * @since 2021-07-22 14:12:45
 */

public interface PurchaseCouponService {
    ResponseResult<PageResult<List<PurchaseCoupon>>> list(PublicReq publicReq) throws ErrorException;
    ResponseResult<Object> pfullCounponInsert(FullCouponReq fullCouponReq) throws ErrorException;
    ResponseResult<Object> pInstantCounponInsert(PInstantCouponReq pInstantCouponReq) throws ErrorException;
}




